/**
 * @version 2007-1-25
 * @author xalinx at gmail dot com
 */
package org.nanhill.xconv;

import java.io.File;
import java.io.IOException;

import org.nanhill.commons.io.FileConverter;

/**
 * @version 2007-1-25
 * @author xalinx at gmail dot com
 * 
 */
public class ConvertKit {

	public static void convertFileEncoding(String fromEncode, String toEncode,
			String fromFile, String toFile) throws IOException {
		FileConverter fc = new FileEncodingConverter(fromEncode, toEncode);
		fc.convert(new File(fromFile), new File(toFile));
	}

}
